home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000333_news@newsmaster….columbia.edu _Wed Sep 10 11:27:28 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA01122
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 10 Sep 1997 11:27:27 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA22471
  7.     for kermit.misc@watsun; Wed, 10 Sep 1997 11:27:26 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Connecting kermit to emulated system
  12. Date: 10 Sep 1997 15:27:25 GMT
  13. Organization: Columbia University
  14. Lines: 25
  15. Message-ID: <5v6e8t$c5m$1@apakabar.cc.columbia.edu>
  16. References: <5v6dk5$3aq$1@news.lth.se>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7655
  19.  
  20. In article <5v6dk5$3aq$1@news.lth.se>,
  21. Ola Nilsson <e91on@efd.lth.se> wrote:
  22. : I'm working on a emulator of a system under SunOS.
  23. : The emulated system has a serial port which is used
  24. : as a console for the system. When running the real
  25. : system kermit is used to connect to /dev/ttya
  26. : (or some tty).
  27. : Now I would like to use kermit to connect to the 
  28. : emulator as well. The first thing I tried was to 
  29. : use pipes. However kermit refuse to open a 
  30. : connection to anything but a real tty.
  31. : Could this be done without using two serial ports
  32. : on the Sun box with a null-modem between them?
  33. But you are running Kermit under SunOS, right?  If you
  34. are trying to emulate a serial port, then you have to
  35. write a device driver that behaves like a serial port
  36. driver.  At minimum, isatty() should succeed on this
  37. device, and select(), read(), and write() should work
  38. on it.  Then the many terminal-related ioctls() should
  39. at least pretend to work.
  40.  
  41. - Frank